package com.hziee.graduate.ticket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hziee.graduate.ticket.dto.PageDTO;
import com.hziee.graduate.ticket.dto.R;
import com.hziee.graduate.ticket.entity.Comment;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;


public interface CommentService extends IService<Comment> {

    R<String> addRate(Map<String, String> map);

    R<PageDTO<Comment>> getLimitCommentByMovieId(Long movieId, Long currentPage);
}

